-
Home
-
WPIDE – File Manager & Code Editor
-
3.5.2
-
Code
-
Classes
- User
| Total Complexity |
32 |
| Dependencies |
1 |
| Dependents |
2 |
| Total lines |
175 |
| Lines of code |
98 |
| Logical lines of code |
37 |
| Comment lines |
3 |
| Methods |
23 |
| Properties |
9 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| checkValidPermissions() |
S |
65 |
4 |
8 |
| hasPermissions() |
S |
65 |
3 |
9 |
| hasRole() |
S |
71 |
2 |
6 |
| setPermissions() |
S |
69 |
2 |
7 |
| getPermissions() |
S |
78 |
2 |
3 |
| checkValidRole() |
S |
69 |
2 |
6 |
| jsonSerialize() |
S |
63 |
1 |
11 |
| __construct() |
S |
91 |
1 |
2 |
| isGuest() |
S |
80 |
1 |
3 |
| isUser() |
S |
80 |
1 |
3 |
| isAdmin() |
S |
80 |
1 |
3 |
| getRole() |
S |
82 |
1 |
3 |
| setName() |
S |
81 |
1 |
3 |
| getName() |
S |
82 |
1 |
3 |
| setEmail() |
S |
81 |
1 |
3 |
| getEmail() |
S |
82 |
1 |
3 |
| setAvatar() |
S |
81 |
1 |
3 |
| getAvatar() |
S |
82 |
1 |
3 |
| setUsername() |
S |
81 |
1 |
3 |
| getUsername() |
S |
82 |
1 |
3 |
| setHomedir() |
S |
81 |
1 |
3 |
| getHomeDir() |
S |
82 |
1 |
3 |
| setRole() |
S |
77 |
1 |
4 |